home *** CD-ROM | disk | FTP | other *** search
-
-
-
- FFFFAAAAXXXXAAAADDDDDDDDMMMMOOOODDDDEEEEMMMM((((1111MMMM)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((MMMMaaaayyyy 11112222,,,, 1111999999996666)))) FFFFAAAAXXXXAAAADDDDDDDDMMMMOOOODDDDEEEEMMMM((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- faxaddmodem - configure a modem for use with _H_y_l_a_F_A_X
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////uuuussssrrrr////ffffrrrreeeeeeeewwwwaaaarrrreeee////ssssbbbbiiiinnnn////ffffaaaaxxxxaaaaddddddddmmmmooooddddeeeemmmm [ ----ssss _s_p_e_e_d ] [ _t_t_y ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _f_a_x_a_d_d_m_o_d_e_m is an interactive shell script that does the
- necessary setup work to configure a modem for use by the
- _H_y_l_a_F_A_X software. To enable use of the configured modem one
- must either use the _f_a_x_m_o_d_e_m(1M) program or configure the
- _i_n_i_t(1M) program to startup a _f_a_x_g_e_t_t_y(1M) process for the
- newly configured modem. In either case the _f_a_x_q(1M) program
- must also be running if outbound services are to be
- provided.
-
- If the serial port name is not specified on the command line
- _f_a_x_a_d_d_m_o_d_e_m will prompt for it.
-
- The configuration work done by _f_a_x_a_d_d_m_o_d_e_m falls into two
- main areas: creating the necessary files to run a facsimile
- server process, and defining the contents of the
- configuration database file. The _c_o_n_f_i_g (_4_F) manual page
- has an in-depth description of the contents of the
- configuration file and should be consulted when installing a
- modem.
-
- Many aspects of configuring a modem are operating system-
- specific; _f_a_x_a_d_d_m_o_d_e_m uses a collection of support routines
- and parameters that are generated by the _f_a_x_s_e_t_u_p(1M)
- program. If _f_a_x_s_e_t_u_p has not been run on a machine prior to
- running then _f_a_x_a_d_d_m_o_d_e_m will abort.
-
- _f_a_x_a_d_d_m_o_d_e_m can be used to install a new modem or re-
- configure an existing modem. In the latter case it will
- propagate all the server-related configuration parameters
- from the existing configuration file to the new
- configuration file. These parameter include items such as
- the phone number, area code, and tracing control parameters.
- Modem-related configuration parameters are, however, not
- propagated. Instead _f_a_x_a_d_d_m_o_d_e_m deduces the type of modem
- attached to the specified serial port and then sets up the
- configuration parameters using a set of _p_r_o_t_o_t_y_p_e
- configuration files that have been tested with like modems.
- If a modem is to be installed for which there is no existing
- prototype file, _f_a_x_a_d_d_m_o_d_e_m will work from a comprehensive
- template of parameters that can be edited either during or
- after the installation process.
-
- _f_a_x_a_d_d_m_o_d_e_m deduces the type of modem attached to the serial
- port by sending commands to the modem at a fixed speed. By
- default, this speed is deduced by sending commands to the
-
-
-
- Page 1 (printed 6/24/99)
-
-
-
-
-
-
- FFFFAAAAXXXXAAAADDDDDDDDMMMMOOOODDDDEEEEMMMM((((1111MMMM)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((MMMMaaaayyyy 11112222,,,, 1111999999996666)))) FFFFAAAAXXXXAAAADDDDDDDDMMMMOOOODDDDEEEEMMMM((((1111MMMM))))
-
-
-
- modem at successively decreasing speeds until a valid
- response is received. Alternatively, a fixed speed can be
- specified from the command line with the ----ssss option.
-
- Because _f_a_x_a_d_d_m_o_d_e_m needs to read and write the modem that
- is to be installed it will not proceed with an installation
- if the modem is locked for use by another process.
-
- Finally, note that an installation can be safely aborted at
- any time by hitting the interrupt key. _f_a_x_a_d_d_m_o_d_e_m delays
- making installation-related changes until after everything
- has been setup.
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- ----ssss _s_p_e_e_d Communicate with the modem at a fixed _s_p_e_e_d; this
- may be any value recognized by the _s_t_t_y(1)
- command.
-
- PPPPRRRROOOOTTTTOOOOTTTTYYYYPPPPEEEE CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN FFFFIIIILLLLEEEESSSS
- _f_a_x_a_d_d_m_o_d_e_m uses prototype configuration files that have
- been created for known modems. These prototype files are
- kept in the ccccoooonnnnffffiiiigggg subdirectory and, by convention, have
- names that identify a brand or type of modem and the DTE-DCE
- flow control scheme the prototype files configures. The
- _f_a_x_a_d_d_m_o_d_e_m(1M) program that is used to configure a modem
- for use with _H_y_l_a_F_A_X selects a prototype configuration file
- using information retrieved from the modem and comments
- embedded in the prototype files. For Class 1 modems the
- product ID code returned by the command ``ATI0'' and the
- response from the comannd ``ATI3'' are used to select a
- prototype configuration file, while for Class 2 modems the
- manufacturer and model as returned by ``AT+FMFR?'' and
- ``AT+FMDL?'', respectively, are used (or ``AT+FMI?'' and
- ``AT+FMM?'' for Class 2.0 modems).
-
- A Class 1 prototype configuration file is identified for use
- by _f_a_x_a_d_d_m_o_d_e_m by searching for a comment of the form:
- # CONFIG:CLASS1:144:.*:RTSCTS: Manufacturer='AT&T' Model=Dataport
- In this example ``144'' is the product ID code for an AT&T
- DataPort modem, ``.*'' is a regular expression matched
- against the result string returned by the ``ATI3'' command,
- and ``RTSCTS'' indicates the modem is configured to use
- hardware flow control during fax operation. The remainder
- of the line is evaluated by the _s_h(1) and used to specify
- the modem's manufacturer and model (since Class 1 modems do
- not have standard commands to query this information).
-
- Class 2 and 2.0 prototype configuration files match the
- string ``_m_a_n_u_f_a_c_t_u_r_e_r-_m_o_d_e_l-_f_l_o_w_c_o_n_t_r_o_l'' against a _s_h(1)
- glob pattern specified in the configuration file, where
- _m_a_n_u_f_a_c_t_u_r_e_r and _m_o_d_e_l are the strings returned by querying
-
-
-
- Page 2 (printed 6/24/99)
-
-
-
-
-
-
- FFFFAAAAXXXXAAAADDDDDDDDMMMMOOOODDDDEEEEMMMM((((1111MMMM)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((MMMMaaaayyyy 11112222,,,, 1111999999996666)))) FFFFAAAAXXXXAAAADDDDDDDDMMMMOOOODDDDEEEEMMMM((((1111MMMM))))
-
-
-
- the modem and _f_l_o_w_c_o_n_t_r_o_l is either ``RTSCTS'' for hardware
- flow control or ``XONXOFF'' for software flow control. For
- example:
- # CONFIG: CLASS2: ZyXEL*-RTSCTS
- # CONFIG: CLASS2.0: USRobotics*-XONXOFF
- are configuration comments that appear in the prototype file
- for a ZyXEL 1496E with Class 2 support, and for a US
- Robotics Courier modem with Class 2.0 firmware.
-
- The _f_a_x_a_d_d_m_o_d_e_m program merges server-specific configuration
- parameters into a prototype configuration according to
- comments placed in the prototype file. All lines between
- ``BEGIN-SERVER'' and ``END-SERVER'' comments are placed with
- the appropriate server configuration parameters. Note that
- this means modem-related configuration parameters must be
- placed outside this area of the file.
-
- FFFFIIIILLLLEEEESSSS
- /usr/freeware/var/spool/fax/etc/setup.cache master configuration parameters
- /usr/freeware/var/spool/fax/etc/setup.modem modem-related configuration support
- /usr/freeware/var/spool/fax/config prototype configuration files
- /usr/freeware/sbin/ondelay program to open device without waiting for carrier
- /usr/freeware/sbin/lockname SVR4 UUCP lockfile name generator
-
- Consult _h_y_l_a_f_a_x(4F) for a complete discussion of the
- structure and content of the spooling area.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- _h_y_l_a_f_a_x(4F), _c_o_n_f_i_g(4F), _f_a_x_s_e_t_u_p(1M), _f_a_x_q(1M),
- _f_a_x_g_e_t_t_y(1M), _f_a_x_m_o_d_e_m(1M), _f_a_x_c_o_n_f_i_g(1M), _f_a_x_s_e_n_d(1M)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 3 (printed 6/24/99)
-
-
-
-